package com.tuananh.radnom.model.notification;

import java.util.ArrayList;

import org.eclipse.persistence.oxm.annotations.XmlDiscriminatorNode;

@XmlDiscriminatorNode("@type")
public abstract class AbstractNotificator {
	ArrayList<Receiver> receiver;

	public ArrayList<Receiver> getReceiver() {
		return receiver;
	}

	public void setReceiver(ArrayList<Receiver> receiver) {
		this.receiver = receiver;
	}
	public abstract boolean notifyError(String data,Object...args);
}
